package com.yn.stragypattern.domain;

import com.yn.stragypattern.annotion.BankAPI;
import com.yn.stragypattern.annotion.BankAPIField;
import com.yn.stragypattern.impl.AbstractAPI;
import lombok.Data;

/**
 * @author yangni
 * @version 1.0
 * 人工智能开发小组
 * @date 2022/12/2 17:09
 */
@Data
@BankAPI(url = "/bank/createUser", desc = "创建用户接口")
public class CreateUserAPI extends AbstractAPI {
    @BankAPIField(order = 1, type = "S", length = 10)
    private String name;
    @BankAPIField(order = 2, type = "S", length = 18)
    private String identity;
    @BankAPIField(order = 4, type = "S", length = 11) //注意这里的order需要按照API表格中的顺序
    private String mobile;
    @BankAPIField(order = 3, type = "N", length = 5)
    private int age;
}
